Fix Mouse hang with VNC
authoradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:06:44 +0000 (11:06 -0800)
committeradsharma@los-vmm.sc.intel.com <adsharma@los-vmm.sc.intel.com>
Tue, 9 Aug 2005 19:06:44 +0000 (11:06 -0800)
commit9f048aa91c66b9e0d29d932a7b2777dc0714252d
treeae976cb9c49987170d5ee8d279420e774143cdaa
parent5b1a5c7317e7177483b6586b62be5529598d9b48
Fix Mouse hang with VNC

I've made some progress on this problem.  Turns out, the VNC emulator is
a little over aggressive in dealing with reset commands for the mouse.
Since there are commands that enable and disable the mouse the VNC
emulator provides this control.  Unfortunately, VNC also interprets
either a `reset' or `set to default' command to also disable the mouse.
This is wrong, neither of these commands are supposed to affect the
enabled status of the mouse so that, when X sends a `reset', no futher
mouse data is sent, making it look like X is hung.

Signed-off-by: Don Dugger <donald.d.dugger@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
tools/ioemu/hw/pckbd.c